<!-- 表格内容,此组件还用于生成导出文件,所以不应该依赖vue组件相关的上下文 -->
<script lang="ts" setup>
import {
	DANGER_CRAFT_NAME_OPTIONS,
	getEnumOptionsField,
} from "@/config/enum-options";

defineOptions({ name: "SheetItem" });
</script>

<template>
	<el-table-column label="序号" type="index" width="60" fixed="left" />
	<el-table-column v-slot="{ row }" label="工艺名称" prop="name">
		{{ getEnumOptionsField([...DANGER_CRAFT_NAME_OPTIONS], "label", row.name) }}
	</el-table-column>
	<el-table-column label="典型工艺" prop="typicalProcesses" />
	<el-table-column label="重点监控参数" prop="monitorParams" />
	<el-table-column label="责任人" prop="responsiblePerson" />
	<el-table-column label="联系电话" prop="connectPhone" />
	<el-table-column label="应急预案" prop="planName" />
</template>
